 <{include file="m/header.html"}>
 <!--主要内容区-->
  <div class="container">
    <div class="row">
      <!--左侧内容-->
      <div class="col-xs-12">
        <!--内容-->
      	<div class="panel panel-primary">
          <div class="panel-heading">
            <h3><{$result.title}> <a href="#"><i class="icon icon-volume-up"></i></a></h3>
          </div>
          <div class="panel-body">
            <p><span class="label label-warning"><{$result.dynasty}></span> <span class="label label-info"><{$result.author}></span></p>
            <p><{$result.content|nl2br}></p>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><{$resultd.tags}></div>
          </div>
        </div>
        <!--作者-->
        <div class="panel">
          <div class="panel-body">
            <div class="row">
            	<div class="col-xs-3"><img src="<{$authors.pic}>" style="width:105px;height:150px" alt=""></div>
                <div class="col-xs-8">
              		<h3><{$authors.title}></h3>
                    <p><{$authors.intro}></p>
                </div>	
            </div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
          </div>
        </div>    
        <!--猜您喜欢-->
        <div class="list-group">
          <a href="#" class="list-group-item active">
            <h4 class="list-group-item-heading">猜你喜欢</h4>
          </a>
        </div>
        <{foreach from=$res_gushi item=wx}>
        <div class="panel panel-primary">
          <div class="panel-body">
            <div class="title-heading"><strong><a href="<{spUrl c=main a=gsDetails id=$wx.id}>"><{$wx.title}></a></strong><div style="float:right;"><button class="btn btn-primary" type="button">背诵</button></div></div>
              <p><span class="label label-warning"><{$wx.dynafy}></span> <span class="label label-info"><{$wx.author}></span></p>
              <div class="content-content text-muted"><{$wx.content|truncate:120:"...":true}></div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
          </div>
        </div>
        <{/foreach}>    
      </div>
      
   </div>
 <{include file="m/footer.html"}>